﻿<%@ Control Language="C#" CodeBehind="DateTime_Edit.ascx.cs" Inherits="PD.Web.DynamicData.FieldTemplates.DateTime_EditField" %>
<asp:TextBox ID="DateTxt" runat="server" Width="180px" MaxLength="10" CssClass="DDTextBox"
    Text='<%# FieldValueEditString %>'></asp:TextBox>
<act:CalendarExtender runat="server" TargetControlID="DateTxt" ID="Calendar" Enabled="True">
</act:CalendarExtender>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" CssClass="DDControl DDValidator"
    ControlToValidate="DateTxt" Display="Static" Enabled="false" />
<asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator1" CssClass="DDControl DDValidator"
    ControlToValidate="DateTxt" Display="Static" Enabled="false" />
<asp:DynamicValidator runat="server" ID="DynamicValidator1" CssClass="DDControl DDValidator"
    ControlToValidate="DateTxt" Display="Static" />
<asp:CustomValidator runat="server" ID="DateValidator" CssClass="DDControl DDValidator"
    ControlToValidate="DateTxt" Display="Static" EnableClientScript="false" Enabled="false"
    OnServerValidate="DateValidator_ServerValidate" />